package com.dw.demo.feign.fallback;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * feign熔断返回接口
 */
@FeignClient(value = "service-consumer",fallback = FallBackClass.class)
public interface SchedualServiceClient {
    @RequestMapping(value = "/demo",method = RequestMethod.GET)
    String hello();
}
